package com.hnucm.cooklife.contract.meDishColl;

import com.hnucm.cooklife.base.IBaseView;
import com.hnucm.cooklife.bean.me.DishColl;

import java.util.List;

import io.reactivex.Observable;

public class Contract {
    public interface IMeDishCollModel{
        Observable<List<DishColl>> loadMeDishColl(int userId);
        Observable<List<DishColl>> refreshMeDishColl(int userId);
    }

    public interface IMeDishCollView extends IBaseView{
        void onLoadMeDishColl(List<DishColl> DishCollList);
        void onRefreshMeDishColl(List<DishColl> DishCollList);
    }

    public interface IMeDishCollPresenter{
        void loadMeDishColl(int userId);
        void refreshMeDishColl(int userId);
    }
}
